<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page contentType="text/html;charset=utf-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>QG_贴吧</h1>
<h2>个人中心</h2>
<h3>修改密码</h3>
<form action="${pageContext.request.contextPath}/modifyPassword" method="post">
  <table>
    <tr>
      <td>原密码：</td>
      <td>
        <input type="password" name="oldPassword" />
      </td>
    </tr>
    <tr>
      <td>新密码：</td>
      <td>
        <input type="password" name="newPassword1" />
      </td>
    </tr>
    <tr>
      <td>密码确认：</td>
      <td>
        <input type="password" name="mewPassword2" />
      </td>
    </tr>
    <tr>
      ${modifyPasswordError}
    </tr>
    <tr>
      <td>
        <button type="submit" class="inputButton" value="" >修改</button>
      </td>
      <td>
        <button type="button" class="inputButton" onclick="Return()">返回</button>
      </td>
    </tr>
  </table>
</form>
<script type="text/javascript">
    			function Return(){
    			    window.location.href="Myhome.html";
    			}
    </script>
</body>
</html>